package com.qst0915.service.impl;

import com.qst0915.dao.impl.UserDaoImpl;
import com.qst0915.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDaoImpl userDaoimpl;
    @Override
    public void sayHi() {
        System.out.println("UserServiceIml中的方法");
        userDaoimpl.sayHi();
    }
}
